
#include "BasicTutorial1.h"

//-------------------------------------------------------------------------------------
BasicTutorial1::BasicTutorial1(void)
{
}
//-------------------------------------------------------------------------------------
BasicTutorial1::~BasicTutorial1(void)
{
}

//-------------------------------------------------------------------------------------
void BasicTutorial1::createScene(void)
{
    Ogre::Entity* ogreHead = mSceneMgr->createEntity("Head", "ogrehead.mesh");
 
    Ogre::SceneNode* headNode = mSceneMgr->getRootSceneNode()->createChildSceneNode();
    headNode->attachObject(ogreHead);
	headNode->yaw(Ogre::Degree(90));
 
    // Set ambient light
    mSceneMgr->setAmbientLight(Ogre::ColourValue(0.5, 0.5, 0.5));
 
    // Create a light
    Ogre::Light* l = mSceneMgr->createLight("MainLight");
    l->setPosition(20,80,50);
}
